package com.interview.javabasic.thread;

public class CASCase {
    private volatile int value;

    public synchronized void add() {
        value++;
    }
}
